Page({
  data: {
    pageList: [{ url: '../../assets/pb01.png' }, { url: '../../assets/pb02.png' }, { url: '../../assets/pb03.png' }, { url: '../../assets/pb01.png' }, { url: '../../assets/pb02.png' }, { url: '../../assets/pb03.png' }, { url: '../../assets/pb01.png' }],
    shopList_array:['合肥店','芜湖店'],
    shopList_inde:'',
    isMore:false,
    isShowPop:false, //是否显示弹框
  },
  onLoad: function (options) {

  },
  onReady: function () {

  },
  onShow: function () {

  },

  bindOneSeletHandle: function (e) { //单个selet选择器 
    var type = e.currentTarget.dataset.type;
    this.setData({
      [type]: this.data[type + '_array'][e.detail.value],
      [type + '_index']: e.detail.value, 

    })
  },

  clickMoreHandle(){ //点击更过
    this.setData({
      isMore: !this.data.isMore
    })
  },

  openPopHandle(){ //打开弹框
    this.setData({
      isShowPop:true
    })
  },

  cancelPopHandle(){ //关闭弹框
    this.setData({
      isShowPop:false
    })
  },

  confirmPopHandle(){ //
    this.cancelPopHandle()
  }
})